package com.scribbles.common.exception;

public class ScribblesRuntimeException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	
	private String message;
	private String detailedMessage;
	private Exception exception; 
	
	public ScribblesRuntimeException() {
	}
	
	public ScribblesRuntimeException(final String message) {
		super();
		this.message = message;
	}

	public ScribblesRuntimeException(final String message, final String detailedMessage) {
		super();
		this.message = message;
		this.detailedMessage = detailedMessage;
	}

	public ScribblesRuntimeException(final String message, final Exception exception) {
		super();
		this.message = message;
		this.exception = exception;
	}
	
	public ScribblesRuntimeException(final String message, final String detailedMessage,
			final Exception exception) {
		super();
		this.message = message;
		this.detailedMessage = detailedMessage;
		this.exception = exception;
	}

	public String getMessage() {
		return message;
	}
	public void setMessage(final String message) {
		this.message = message;
	}
	public String getDetailedMessage() {
		return detailedMessage;
	}
	public void setDetailedMessage(final String detailedMessage) {
		this.detailedMessage = detailedMessage;
	}

	public Exception getException() {
		return exception;
	}

	public void setException(final Exception exception) {
		this.exception = exception;
	}
	
	
	
}
